Skip to content

Conversation

erickhun
Copy link
Collaborator

Take advantage of dd-trace to add trace to BuffLog.
This is based on @esclapes recommendation.

If a service want this feature, it will simply need to have those lines set at the beginning of the service:

// make sure to put those lines at the very beginning of your service
import tracer from "dd-trace";
tracer.init({
    //  will automatically append the traces to BuffLog
    logInjection: true

    // ... all other options...
});

@erickhun erickhun requested a review from esclapes February 25, 2020 02:24
@erickhun erickhun merged commit 43f6118 into master Feb 25, 2020
@erickhun erickhun deleted the task/log-autoinject branch February 25, 2020 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant